package com.vhall.component.dao.pendant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vhall.component.entity.pendant.PendantStatsEntity;
import com.vhall.component.entity.pendant.vo.PendantListStatsRspVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @author guoxin.wang
 * @date 2021-10-29
 */
@Mapper
@Repository
public interface PendantStatsMapper extends BaseMapper<PendantStatsEntity> {

    /**
     * 控制台-房间-挂件统计信息列表
     *
     * @param page
     * @param param
     * @return 返回值
     */
    Page<PendantListStatsRspVO> listStats(@Param("page") Page<PendantListStatsRspVO> page, @Param("param") Map<String, Object> param);

}
